﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace CRM.ViewModels.User
{
    public class InfoItem
    {
        [Required, Display(Name = "模块名称")]
        public string Module { get; set; }
        [Required, Display(Name = "权限位")]
        public long PermissionFlag { get; set; }
    }
    public class AuthInfo
    {
        [Required, Display(Name = "模板ID")]
        public int ID { set; get; }
        [Required, Display(Name = "权限数据")]
        public List<InfoItem> Data { set; get; }
    }
}
